<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "R/xhtml1/DTD/xhtml1-transitional.dtd">

<head>
<title>且用切珍惜</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /
<?php
if (($_POST["head"]=="")||($_POST["foot"]=="")) {
	 echo "<br />";
     echo "<br />";
     echo "<br />";
     echo "<br />";
     echo  "<div align=\"center\">提交的是空数据，请返回重新提交!!<br /></div>";
     echo  "<div align=\"center\">3秒后自动返回....<br /></div>";
     echo "<meta http-equiv=\"refresh\" content=\"2.5;url=./saveini.html\">";
}else {
	# code...
	 $fp=fopen('./POST.ini','w');
     fwrite($fp, $_POST["head"]);
     fclose($fp);
     $fp=fopen('./BDUSS.ini','w');
     fwrite($fp, $_POST["foot"]);
     fclose($fp);

     echo "<br />";
     echo "<br />";
     echo "<br />";
     echo "<br />";
     echo "<br />";
     echo  "<div align=\"center\">数据已经保存!!<br /></div>";
}

?>
</head>
</html>
